﻿using BLToolkit.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BLToolkit.Mapping;

namespace PlatForm.DataLayer
{
    [TableName("PickingOrder")]
    public class PickingOrder:Devsoft.DB.Models.Flat.Model<PickingOrder>
    {

        [PrimaryKey]
        public string PO_No { get; set; }

        public int WH_No { get; set; }

        public string SUPPL_No { get; set; }

        [MapIgnore]
        public string SUPPL_Name { get; set; }

        public DateTime ORD_Date { get; set; }

        public DateTime DELI_Date_ST { get; set; }

        public DateTime DELI_Date_WH { get; set; }

        [Association(ThisKey = "SUPPL_No", OtherKey = "SUPPL_No", CanBeNull = false)]
        public Supplier Supplier;
    }
}
